package org.com.f4.jdbcdao;

import org.com.f4.model.MyBatisPaginate;
import org.com.f4.model.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;



@Repository
public class WineDaoImpl {
	@Autowired
	MyBatisPaginate myBatisPaginate;
	public Page findWin(Page page){
		
		 page=myBatisPaginate.execQueryPage("org.com.f4.jdbcdao.WineDao.findWin", page);
		
		return page;
	}
	public Page findWin1(Page page){
		
		 page=myBatisPaginate.execQueryPage("org.com.f4.jdbcdao.WineDao.findWin1", page);
		
		return page;
	}
	public Page findWin2(Page page){
		
		 page=myBatisPaginate.execQueryPage("org.com.f4.jdbcdao.WineDao.findWin2", page);
		
		return page;
	}
	public Page findWin3(Page page){
		
		 page=myBatisPaginate.execQueryPage("org.com.f4.jdbcdao.WineDao.findWin3", page);
		
		return page;
	}
	public Page findWin4(Page page){
		
		 page=myBatisPaginate.execQueryPage("org.com.f4.jdbcdao.WineDao.findWin4", page);
		
		return page;
	}
	public Page findWin5(Page page){
		
		 page=myBatisPaginate.execQueryPage("org.com.f4.jdbcdao.WineDao.findWin5", page);
		
		return page;
	}
	
	}
